package com.linkhouse.domain.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.naming.Name;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TbRentOrder {

  private long id;
  /*
  * 金额
  * */
  private double price;
  /*
  *
  * 状态*/
  private long status;
  /*
  * 用户id
  * */
  private long userId;
  /*
  * 订单号
  * */

  private String orderId;
  /*
  * 交易流水号
  *
  * */
  private String tradeOrder;
  /*
  * 创建时间
  * */
  @TableField(fill = FieldFill.INSERT)
  private Date createTime;
  /*
  * 结束时间
  * */
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date expirationTime;
  /*
  * 小区id
  * */
  private long areaId;
  /*
  * 押金
  * */
  private double deposit;



}
